fixed navigation from tests results to code; cleaned up code; fixed test console bug which led to incorrect test result representation;