Fixed #38

Created test code for genabout.py

Created the gen_tests.py for this stage which will be integrate with the main test later.

In addition, this commit make the genabout.py become a class and code enhancement have been made.