trivial test, removed one unneeded variable