Fix user valid test
Add file for Travis CI