Build and test in both Debug and Release mode.