Add automatic resource model binding test