Added some test cases in guides code