Add tests for new tbd file support
diff --git a/test/pbxFile.js b/test/pbxFile.js
index 90e0851..114c576 100644
--- a/test/pbxFile.js
+++ b/test/pbxFile.js
@@ -36,6 +36,13 @@
         test.done();
     },
 
+    'should detect that a .tbd path means sourcecode.text-based-dylib-definition': function (test) {
+        var sourceFile = new pbxFile('libsqlite3.tbd');
+
+        test.equal('sourcecode.text-based-dylib-definition', sourceFile.lastKnownFileType);
+        test.done();
+    },
+
     'should detect that a .framework path means wrapper.framework': function (test) {
         var sourceFile = new pbxFile('MessageUI.framework');
 
@@ -86,12 +93,24 @@
         test.equal('Sources', dataModelFile.group);
         test.done();
     },
-    'should be Frameworks for frameworks': function (test) {
+    'should be Frameworks for dylibs': function (test) {
         var framework = new pbxFile('libsqlite3.dylib');
 
         test.equal('Frameworks', framework.group);
         test.done();
     },
+    'should be Frameworks for tbds': function (test) {
+        var framework = new pbxFile('libsqlite3.tbd');
+
+        test.equal('Frameworks', framework.group);
+        test.done();
+    },
+    'should be Frameworks for frameworks': function (test) {
+        var framework = new pbxFile('MessageUI.framework');
+
+        test.equal('Frameworks', framework.group);
+        test.done();
+    },
     'should be Resources for all other files': function (test) {
         var headerFile = new pbxFile('Plugins/ChildBrowser.h'),
             xibFile = new pbxFile('Plugins/ChildBrowser.xib');
@@ -125,6 +144,13 @@
         test.done();
     },
 
+    'should be SDKROOT for tbds': function (test) {
+        var sourceFile = new pbxFile('libsqlite3.tbd');
+
+        test.equal('SDKROOT', sourceFile.sourceTree);
+        test.done();
+    },
+
     'should be SDKROOT for frameworks': function (test) {
         var sourceFile = new pbxFile('MessageUI.framework');
 
@@ -163,6 +189,13 @@
         test.done();
     },
 
+    'should be "usr/lib" for tbds (relative to SDKROOT)': function (test) {
+        var sourceFile = new pbxFile('libsqlite3.tbd');
+
+        test.equal('usr/lib/libsqlite3.tbd', sourceFile.path);
+        test.done();
+    },
+
     'should be "System/Library/Frameworks" for frameworks': function (test) {
         var sourceFile = new pbxFile('MessageUI.framework');