added advanced tests