tests: Unload plugin after the test

This covers the case of deinitializing a plugin