add test to check if editing of robots array is working as intended + add more example code and change trustedProxy parameter order in Detector contrustor