title: Should I Write Unit Tests That Check the Default Values of An Object's Properties?
body: <p>The question title really says everything, but I'll do my best to clarify things. Let's say I have the following object:</p>
  
  <pre><code>function MyObject() {
      this.isAwesome = true;
      // Other methods and property
  }
  var obj = new MyObject();
  </code></pre>
  
  <p>Now, when writing unit tests against this object, should I write a test that makes sure that the <code>isAwesome</code> property defaults to true? Or is that too rigid of a test?</p>