Added tests and corrected project dependencies.