test the gem device app for ruby on rails