Rename some group tests
Key the $user_ids array by the user_login

Makes $user_ids less brittle/prone to breakage when other people
add/remove users in the future.
Add visibility tests for hidden/private groups
Test to check you can get own user details back
Test search_term is handled case insensitively