removed the unnecessary "before :all" calls from the spec files
added documentation and proper API call to TriggerType wrapper