Add getState test for FileStates