added a more rigorous test