tests: Split array tests up

Split test_everything.TestEverything.test_array(), test_array_fixed_size(),
and test_ptrarray() into functions of a finer granularity. This allows for
easier diagnosis of problems and leaks when they occur.

https://bugzilla.gnome.org/show_bug.cgi?id=735193