fix the test project so that it compiles on OS X

This project wasn't able to be built as it had a dll reference instead of a project reference. It couldn't reference the project as it was an incorrect type this has also been fixed.