Test edgecase errors