Tests for doc syntax