Fixe some scrutinizer issues
Broken travis

Use assertEquals instead of assertEqual
Fixe some scrutinizer issues