Write a unit test