added unit test for framer