Add initialization tests

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>