Added script to generate unit tests
Added argument check to the script
Added unit test for pico_protocol.c