fixed a couple of tests that were not passing for the wrong reasons