Check syntax along with tests