Fixed copyright message to work with no copyright end year.
Added unit test for XProduct.