(function(){
  module("Post", {
    beforeEach: function(){
      this.Post = Object.create( new ActiveStorage("Post") );
      this.Post.destroyAll();
    }
  })
  test('can be created', function( assert ){
    assert.notEqual( this.Post, undefined);
  });
  test('has class methods', function( assert ){
    assert.notEqual( this.Post.new, undefined);
    assert.notEqual( this.Post.create, undefined);
    assert.notEqual( this.Post.find, undefined);
  });
  test('has instance methods', function( assert ){
    var p = this.Post.new();
    assert.notEqual( p.save, undefined);
    assert.notEqual( p.destroy, undefined);
  });
  test('find', function( assert ){
    this.Post.create({name: "Jesse"});
    var p = this.Post.find( 1 );
    assert.equal( p, this.Post );
    p = this.Post.find( 100 );
    assert.equal( p, undefined );
  });
  test('create', function( assert ){
    var p = this.Post.create({name: "Jesse"});
    assert.equal( p, this.Post );
  });
  test('all', function( assert ){
    this.Post.create({name: "Jesse"});
    var len = this.Post.all().length;
    assert.equal( len, 1 );
  });
})()

@@ -972,70 +972,499 @@
 st('
-all', function( assert )%7B%0A    this.Post.create(%7Bname: %22Jesse%22%7D
+destroy', function( assert )%7B%0A    var p = this.Post.create(%7Bname: %22Jesse%22%7D);%0A    p.destroy();%0A    var len = this.Post.all().length;%0A    assert.equal( len, 0 );%0A  %7D);%0A  test('all', function( assert )%7B%0A    this.Post.create(%7Bname: %22Jesse%22%7D);%0A    assert.equal( this.Post.all().length, 1 );%0A    this.Post.create(%7Bname: %22Jesse%22%7D);%0A    assert.equal( this.Post.all().length, 2 );%0A  %7D);%0A  test('destroyAll', function( assert )%7B%0A    var p = this.Post.create(%7Bname: %22Jesse%22%7D);%0A    this.Post.destroyAll(
 );%0A 
@@ -1523,17 +1523,17 @@
 l( len, 
-1
+0
  );%0A  %7D)

add more tests