implement some tests