Add test documentation and example