Syntax fixes; fixed bug on DELETE with empty body; added some tests