Add tests with arrays as parameters