couple of unit test cases