odds and sods of test code