move StringEndsWithTests class into namespace