Construct basic framework and tests