renamed some variables in last test and cleaned up comments so test is more readable