Add testMode option

Allow to expose private method or properties for  unittesting purpose
Add pinedRows feature