adding tests for the commands