tests: Migrate flease and foundation tests to JUnit 4.
tests: Standardize test initialization method names.