Frameword for testing