Test Ruby on Rails API using rails-api