Refactor of users index test