Add payline unittests
Add payline unittest