@Test
public void testUpgradeWithNullSpec()
{

    Response response = upgrade( null );
    assertNotNull( response );
    assertTrue( response.getStatus() == Status.BAD_REQUEST.getStatusCode() );
    UpgradeStatus status = (UpgradeStatus) response.getEntity();
    assertNotNull( status );
    message = "HMS upgrade request should have the mandatory parameters - [ id, fileName, checksum ].";
    assertEquals( message, status.getMoreInfo() );
}