made obstacle type editable
added test obstacle