array_merge() works properly. fix tests.