added advanced testing