add passed and failed method to test result.