Fix parenthesis error.
Add Python tests for importmagic integration