fix tests to work with sf 2.2
commit for travis
did not commit changes
add comment about why we use deprecated