added some tests, movements array nearly correct