Implemented basic test cases