Added resource checks to slave recovery tests to ensure resources
are re-offered after restarts.

From: Ian Downes <ian.downes@gmail.com>
Review: https://reviews.apache.org/r/13764
Merge branch 'master' into master-sonar