rearranged spec. fun. test cases