Add a test and an example in dev