Added missing tests and fixed some hubot warnings