BS-7474 : Modify log in Engine

- Add unit tests