I made a `TestCase` to check if I would get the proper response and page redirection, but It's not working as I thought it would. When I tried a valid form I got the response I expected, but when I made it invalid, I still got the same response.

views.py (I left off the 'GET' 'else:')

```
def create_employee_profile(request):

if request.POST:
    name_form = EmployeeNameForm(request.POST)

    if name_form.is_valid():
        new_name_form = name_form.save()
        return redirect(new_name_form)

    else:
        return render(request,
                'service/create_or_update_profile.html',
                    {'name_form': name_form}
                    )

```

Test.py

```
class TestCreateEmployeeProfileView(TestCase):

def test_redirect_on_success(self):
    response = self.client.post('/service/', {
                'first_name': 'Test',    # Required
                'middile_name': 'Testy', # Optional
                'last_name': '',         # Required
                })

    self.assertEqual(response.status_code, 200)

```

I guess while I am question, I might as well ask how to access the `redirect` to test that as well. 

On success, the new path should be `/service/name/1/`, the '1' being the 'pk' of the created object. 

I know I've seen `SimpleTestCase`, but I haven't found a good example or tutorial on how to use it.