test for array of custom objects
fix for error in array of custom objects

- does not detect falsy parameters when pattern is array:X and an instance of X is given
build