adding functional and unit testing to newly created product controller