add sam's tests