added tests for title selector