add specs for getFrame() and getReadOnlyFrame()