added tests
fixed redirect test
fixed response generator test, and removed old methods from response generator