tests seem to be working correctly