Use std::array in tests

2 jobs for feature/new_tnnmg in 2 minutes and 21 seconds (queued for 1 second)