Add perfect hash function for const properties
Add bad property test