get rid of compiler warning
flesh out mapped segment unit tests.  fix so tests pass.