finish unit tests for nfaoperations