fixed hlint warnings for tests