add to the test package

the program has gone into horrible black hole
all i was doing was rough repairing to the code
please test the code in the test package