Added tests and testing framework examples