|#1206| added tests for submitting regimen through api