create test by pass protected functions from model