added placeholder tests to reduce number of failures
Finished error codes and added test cases (coded over several nights)