PARTIALY FIXED testSpec.js which tests server response, awaiting for Povilas commit to test it out.