Improved parser tests