Finished redirect.js tests for redirecting object