Add more thorough test to build hash-based function table