Test metadata for packages

Metadata for story_id 5513 (package present) and 5514 (package absent).

Please note that the function of the test has been changed as well to use the generic package_method, so there is a risk that the tests will fail now (they passed on CentOS 6).
But if they fail, we have bugs to fix.