You're testing two different things in the same test, you should divide that in two tests.