implmented basic tests