fix lookup for *.foo entries
Added tests for *.foo public suffix checks