tests not behaving