Tests shouldn't be part of coverage
Odd behaviour when validation failed fixed
Use logger instead
Merge branch 'master' into auth