Fix permissions and add test
Bump to 0.2.5