Added test framework and plugin tests
Added write support for plugin
Added travis-ci configuration