DDF-893  added unit tests for determining content type of metacard