add test for resource acquire fail
Merge pull request #11 from leankitscott/master

add test for resource acquire fail