add tests for allocation file permission setting