improved test code quality