Add assertions on parser tests