unit tests update : test method getInstance