Wrote a reduced scope test framework