[test][xs]: bugfix - was not cleaning up properly in apps test.