added test for zero popularity