[Helper/Tests] Implemented new testing-api and fixed lots of bugs.