Added PUT to event type, corrected _id for static and db, added API test