functions used to test a fitted frame stored in test-fitted-frame.R