adding specs for new api
setup for travis ci