Hlint corrections to tests