Re-organize middleware test

Signed-off-by: Max Brunsfeld <mbrunsfeld@pivotal.io>
return 409 Conflict when a created Task guid already exists

Signed-off-by: Max Brunsfeld <mbrunsfeld@pivotal.io>