Add attendance factory to the spec