core: fix final test