exercises: Fix STL and add a test case