Adds test for exceptions thrown when properties are missing