Check arguments of Symbol.hasInstance and Symbol.toPrimitive user functions

The Symbol.hasInstance and Symbol.toPrimitive tests now check for expected argument values given to the user-defined functions.