Add a unit test (from Amo)