A framework for testing SMS services and apps on a real device