Fix DB migration 254 by adding missing unittest

By merging https://review.openstack.org/#/c/114286/23, a new db migration
was added but the unittest was missing.

Change-Id: I32e2455fd5efb2aad52d9a4d7666783c0e613e75
Merge "Fix DB migration 254 by adding missing unittest"