test fixes from Yang Su
Merge branch 'master' of github.com:Sta523-Fa14/hw_examples