Add full unit test coverage for the Frame class