Added resource test cases

Fix #365 
@naegelyd 
Signed-off-by: Sheik Hassan <solergiga@yahoo.com>
What is the reason for this `# noqa`? Just change this line from:

```python
assessment = Assessment.objects.create(
```

to

```python
Assessment.objects.create(
```

 and you should be fine.