wrote more working simple test cases