added better handling of build/test results