Added tests for submitting plans