added client side test runner - improved domain detection mechanism.
NOT SURE - commiting just in case