package api rspec test