improved generalization and implemented test

= More tests were integrated to show how to use the filter
  parameter to retrieve entities with a specific property
  (likes, comments etc.)