wrote first bitwriter test
removed pointless error from bitIOStruct