Extract PrimitiveTest from SmokeTest