try to fix unit test failure on travis with activity detail directive html