added tests to frame