update: add testcase for common functonalities.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>