Add tests to framework for array functions