Corrects file related assertions and adds constructor test.