LUN-670 -- added unit test + format message