test
new api
change api and rspec test