Fixed a bug in ArraySourceBlockEncoding
Cleaned up the testing code a bit