adding fix and unit tests for cloud-engine-api scaries. Added toUpperCase() because the previous implementation was taking it into account