Remove rtgov dependencies, and move test