I added some unit tests for array_pull, array_add and array_only functions

The opening brace should be on a new line.