Fix failing tests

I believe there has been some change in lithium's model, so I fixed `Permission` to pass tests.