Testcase for attempting input stream behaviour added