first testcase working