Added our first test and corrected an exception which would be thrown if the first argument in schema was not passed.