robustified test fixture and added custom hash test