added some tests for the previous commit