Started work on error testing