fixed build errors
Merge pull request #998 from mattyw/fix-build-fail

fixed build errors

These tests were failing to build