[python] add tests for @:import