Added tests for the _getSrcsetHash function, and made it stronger