Added check if selection is known one for body id + unit test

The last one for today ;-)