Added Permanent object
Added tests for permanents