tests: Extend test of the trash

This commit extends the test of the trash. It now checks if the trashtime
works as expected and what happens to nodes other than ordinary files
when they are deleted. It also checks if recovering a file to a location
different than the original one works.

Change-Id: I29136bed186e362bac8e298f64a714c81eb50143