standardize search API in device tests
__repr__ should return a str, not unicode
add new search API to user services