Don't try to create a test user if one exists.
Certain failed test results can leave a user in the database, not cleaned up, resulting in weird errors upon subsequent testing.
Test for 'avconv', not for 'which'.