added a test for the previous commit