Fix tests and require 0.3 because of new test macros (for now at least).
Move relationship endpoint to graph.