Add a test targeting BZ 1097054

Assert that it is not possible to update an activation key's max content hosts
to a string value. The test succeeds, which indicates that the bug has been
fixed.