Added tests fixed formatting.