Fixing apt remove, plus a MySQL integration test