Modfity Use case test code