basic test case working