added test case to Marketplace class