improved scope of test for intersperse
added empty, generator test cases for intersperse