added unit tests for creating / configuring new sample record structure