Improve unit test coverage.
Hashcode and equals for frames.