Add support for complex toolchain names to tests

Signed-off-by: Anton Kolesov <anton.kolesov@synopsys.com>