add accompanying tests