updated tests to use hammock. removed bad practice of modifying the node request object