unit test for new count