fix style, add new test case for list stats with nulls