Adding tests for Analytics page