update travis conf and add tests file