I think you should use assertEquals() for these sort of tests.