Plinom class has been created
Changed exception error
Added tests