Tests: Fix compilation of treeviewfind auto tests

Change-Id: Ia0ff2635e0d0036e008273f5475e06aa2e3b5d9d
Reviewed-by: hjk <hjk121@nokiamail.com>