Add test and example