fixed failed test case testDelete [AEROGEAR-1210]