changed some PHPUnit assertions to more specific ones