Move primitve test to other package
Add integration test files with good and bad primitive wrapping