update tests to use current api
Merge branch 'master' of github.com:BeStillAsBright/luna