Added automated tests to grunt tasks