Adding usecases test and conversion functions