     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

    t.ok project?, 'Responded with a project resource'
    t.ok project?.id, 'Project got an ID'

test 'Create a subject set',  (t) ->
  subjectSetData = Object.create SUBJECT_SET_DATA
  subjectSetData.links =

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

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