FInished the assTest function.

There is some bug in its calculation, the results makes no much sense