StaticArray<> impl and test