added factory mapping test