Yep, that's a chinese algae eater. They turn into slime coat eaters as they mature, so I'd definitely rehome them.
When picking out new fish for the 10g, try plugging things into aqadvisor.com for a quick ballpark evaluation. It's not perfect by any means, but if you temper it with your own research and experience it does pretty well. Far better than just going off the little info cards at the fish store!