added a test to it