Fix for tests failing to import