created a simple test case for it