fixed a few unit tests that were broken