fixed test bugs
Merge pull request #3 from kbreidenbach/examples

fixed test bugs