primitives: test build fixed
Merge pull request #1019 from bmiklautz/primitives_test_fix

primitives: test build fixed