Refactor frame maker test