Add more tests and fix dynamic property access.