Replace before(:all) hooks with before(:each) in unit tests

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>