Added more command tests. Added array cache test.