TESTS: implemented improved method for dll testing