some basic tests and fixed bug to display users

Fixed bug in admin/users controller to display users.
Some basic tests for admin/users controller.