moved build test
test discovery doc
get tests to pass
Merge pull request #817 from shackbarth/mocha

put discovery document under test