added recursive scanning of model properties
tests for #241