added test case with minimal implementation. working on #4