add tests for #viewedProduct

this needs *careful* review. i'm new.