Fix #642 Add tests and refactor test_plugins

- Refactor test_plugins to use pytest
- Add new plugin tests
- Add FIXME comment for firewiresrc issue

Related to #619
Related to #484
Minor improvements to framework/test_plugins.py

:lipstick: Refactoring #642