initial version of 'with resource' statement.
tests for 'with resource' statement.