remove $ref support in schema itself, replace chai with std assert