Completed EdgeTest class for JUnit tests.