     subjectSet.attr('project').then (subjectSetProject) ->
       t.ok subjectSetProject?, 'Subject set is linked to a project'
       t.equal subjectSetProject?.id, resources.project.id, 'Subject set project is the one specified'
+
+test 'Create a subject', (t) ->
+  subjectData = Object.create SUBJECT_DATA
+  subjectData.links =
+    project: resources.project.id
+
+  subjects.createResource(subjectData).save().then (subject) ->
+    resources.subject = subject
+    t.ok subject?, 'Responded with a subject'
+    t.ok subject?.id?, 'Subject got an ID'
+    t.ok subject?.locations.standard.indexOf('http') isnt -1, 'Subject got a standard location'
 
 test 'Create a workflow', (t) ->
   workflowData = Object.create WORKFLOW_DATA

  description: 'Everyone knows projects are awesome. Does the science back it up? Help us test our hypothesis blah blah blah...'
  science_case: 'We hope to prove once and for all the awesomeness of projects. We’ll publish a paper in blah blah blah...'

WORKFLOW_DATA =
  display_name: "Workflow for #{PROJECT_DATA.display_name}"
  tasks:

        {value: false, label: 'Not very hot at all.'}
      ]
  primary_language: LANGUAGE

projects = apiClient.createType 'projects'
workflows = apiClient.createType 'workflows'
