added a test to make sure I did it right