ember init in empty directory + tests

thanks @hlindset  for the fix