updated incode docs and test