trying to write test cases