Cleaned tests and added a typealias for Position