add some simple unit tests to product controller ok

add some simple unit tests to product controller ok