create tests for business logic