To test, perhaps drain the battery a little. Then , in daylight, cover the panel, then check the battery voltage , remove the cover and test again. I have no doubt there will be better ways.
To test cover the solar panel to stop charging. Then check battery voltage. Then uncover the panel and check battery voltage again and it should read higher if working as previous post is the easiest test.