Cleaned up tests. Added controller path handling and configuration
initialization ensuring.