Corrected wrong asserts in test