added functions to Param, Property and added test code