move final node spec to phpunit