Changed error syntax to be:
	package.Function: error
Also, put the errors in variables so changes won't require changing all of the testing code by hand.