Updated namespace which was wrong (AutoFac vs Autofac). Added unit tests.