change viewed to 'viewed count', and the test unit of it