A recent Tax Court case highlights the pitfalls that can cost sellers dearly.