fix properties in unittest