General fixes

Exclude tests from scrutiniser
Fixed comments
Strict comparisons
Removed test function