tests matter js