PLA-399 added tests for handleLayoutAbTest, change in controller due to test