Fix wrong test result