Fixed behavior test
Added some tests for event-stream
Added map test
Added cycle function