Added test
Testing for string and array mode
Adding travis config
Added badges to docs