refactor alexa tests