write better tests