added complex test