Added comments API and tests