Text this: Design and optimization of a test case generation algorithm for real-time embedded systems based on adaptive Q-Learning