fixed tests cases