Changed the tests to remove the deprecated function
Also added a test for mixed values arrays (not tested)