refactor specs to remove unnecessary commands