added test, fixed project setup to reflect api changes