Adding extra unit test for Statistics

Adding extra unit test for Statistics
Adding unit tests & statistics update

Adding unit tests & statistics update integration