added advanced testing framework