implemented parser tests