allowing selector string input
fixing tests for selector string