added test framework and ports from env