Added initial autotests

Change-Id: I8390dc18ecaf013331022fe3fa0af8fd9620130d
Reviewed-by: Pasi Keränen <pasi.keranen@digia.com>