test for simple type checks
minor: missing 'new' operator