Write basic test for parser, can parse main and block