Fix for []byte retrieval for UUIDArray

taking a slice of array no longer works?
Test fixes

For some reason tests could not access other test functions and variables; so moved all affected back into one file...
Housekeeping and some format fixes