forgot to lint test files and cleaned up error messaging