added 'make test'. fixed dependencies.
added 'make test'. fixed dependencies.