fixed #273 where input channels where not created properly because of a Scalaz bug
changed the groupWhen method to partitionWhen to avoid misunderstandings with the scalaz method