hlint fixes for tests