Got tests working again
Fix issue with infinite loop on results; log errors on phantomjs
Remove errant prints