Adding test coverage for shell handler