added a working test case