tightening test assertions
renaming variable for clarity