Update unit test for posfile