move tests out to a separate file.
start of sect headers
switch to using proper handling, at least at the interface level.