Formula with test for libsecret-0.18

New pull request due to messing up the previous one. Added test to formula as requested.