expand object test to include typeof 'object'