Write test
Ready for Travis CI