Change gid calls to to_gid
Se the test order of activejob tests