Add a test for normal usage of calculateStats