Panda requirement

Added tests and to_s instance method modified.