remove unneeded vars from unit test