implemented basic tests