adding some tests + using rails-api instead of normal rails