added test coverage on example and finished spyglass tests