got most of the test working for server rendering