added test for bridge pattern php