ff
Use sample app in resource's instance tests
ff
Use sample app in links' instance tests
Moved related link construction to the interface
Moved validation to resource classes