Absolute imports

A simple fix for absolute imports in tests and a submodule.