It would be simpler to just manually trigger the channel events in Karaf…
smarthome:things trigger astro:sun:local:set#event START
To repeat the test, you need to trigger the END event before it can start again…
smarthome:things trigger astro:sun:local:set#event END