core: add source tetra test