added some docs + test program