Add a test case for printing samples on IO shell