removing usless tests
adding working === and hash method