Add test and documents