mark_attribute takes list as input, also improved tests for mark_event