a test and generated profile controller