fixes routing issues
passes tests
adds refinery blog post integration test