integrated lightparse_test into test.py