Fixes for Compiler Passes

* Updated to Symfony naming conventions (and better names)
* Added tests
* Fixed tests