Updated tests so methods in ConfidenceInterval could have more strict argument requirements
Cleaned up syntax and formatting. Nothing major.