api test controller improvement, context loading (in progress...)