finally a simple test case working