added more specs. fixed issue with null selector