Fix beam tests to use correct ModelType

ElementFactory methods now check the model type and throw an error if a
beam is created in an incorrect model type.  The tests have now been
updated to reflect this.