test cases for plunker