Assign and List directive fixes and tests

I know how to use `try-with` :). My question was rather directed towards which project settings in which files you propose to change to allow for Java 7 constructs.