Tests: Create unittests for OnLoad class