modifying spec test cases