Fix module usage with strict_variables
Fix unit tests on ruby 1.8.7
Remove allow failures from travis matrix