set filter by property injection; changed instance.php and fixed test.