Unit test for name validation & integration test for file existance