Added JUnit Testfile for class Automat