removed unnecessary getters
added tests for commands