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.
Merge pull request #1176 from Ichimonji10/bz-1097054

Add a test targeting BZ 1097054