LPS-44366 Delete methods instead of deprecate
LPS-44366 Updated test
LPS-44366 Set closure compiler as default in case of error