Add helper methods to make testing easier
Use a pointer type for controllers so sessions are stored when embedded