improving clarity of test code