Added tests for properties.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>