Fix auto test after f56c263c1.

Change-Id: I07274d27a9bf81115031c131c05c72b7592c32de
Reviewed-by: Niels Weber <niels.weber@digia.com>