Add common code tests