test bind and one functionality