Adjusted test script and added Objects.isPrimitive plus tests