SN -122 Add method 'selectByName' to user.
Add test for method 'selectByName'.