Formula with test for libsecret-0.18

New pull request due to messing up the previous one. Added test to formula as requested.
Do you mean note the changes in the previous request?