Port getter and setter tests
Port invalid tests
Refactoring the test module setup steps