fixed bugs so that test runs
added section headers to test output