relicenced the test code using apache licence v2