updated passbook-ruby and included test cases