add tests for module accessors
made seq returns from Seq consistent and added collect method and tests