I should really add tests for inline resources