Added test for importuser command in tests/commands.py