Add host based test support

Signed-off-by: Matti Kosola <matti.kosola@jollamobile.com>