Integrated instrinsics and testing

Also pushed the code for void