added fixes and tests for getInlineContainer
Merge pull request #11 from yanhick/test-get-inline-container

added fixes and tests for getInlineContainer