fixing import module path in Python api tests