STM8: Adding automated testing.