added tests for parser in main.py