Use function already defined
Improve by unifying the function name
Add writer for the electWifi function
Add tests on pure log functions
Add a test use case