shorten variable names and reduce the number of lines of test code