Fixed a noisy unit test. Closes #182