Unit test cases implemented