add test for resource acquire fail
fixed code formatting issue in readme

there was a missing triple-back-tick, causing fun formatting errors in code and documentation