remove unneded fat arrows
fix trailing whitespaces
throw Errors, not strings
fix indentation around
fix duplicate keys in hash
fix indentation in test titles
Merge pull request #370 from unepwcmc/linting

Code linting