adding tests to analyse issue #26
fix for empty constructors (important for struct initialization), fixes issue #26