fixed test passing when should fail