Replace 'assert' with 'assert*' method. Convert tests.unit.forms.widget_tests to use TestCase class. Convert bankcard tests to use TestCase. Convert tests.unit.logging_tests to use TestCase.
This also removes the attr() marking of tests. This can be implemented in pytest with marking the tests with a custom marker if required.
Fixes #376
Also split them into unit and functional tests.