Added class no error test along with its output.