add more tests and docs to IPAC Writer