The setStats did not get tested and doesn't work. No error is thrown but a subsequent getStats does not reflect any change.