A guide explaining how to write a unit test can be found in the [contribution guide](../../../docs/contribution.md#unit-tests)