add method getHistoryProject + refact test