State file, Unit test