Add failure messages in engine functional tests

Change-Id: Ia8dfeb906a441efcb5d80f220a372dc01fa2a244
Closes-bug: #1337742
Merge "Add failure messages in engine functional tests"