moved error test into not-ready; attempted to implement constants in .jj file; added typecasting test