Fixes test cases failure.

Moved initialization of 'properties' to the same line as its
declaration.