removed unnesc variable assignments in test