documentation and integration test code cleanup