add tests for previous commit