Added carrier derived class
added test for carrier