More unit tests for Analytics class, 50% code coverage