Bugfixed king and move class and wrote some new tests