Use accessors for shell for easier testing and now with tests