(chore) typo and unused vars

Just cleaning up some mistakes i made with the tests