add test case for writing multiple frames at the same time
Merge pull request #9 from cowboy129/master

add test case for writing multiple frames at the same time