- fixed scalastyle warnings
 - fixed coordinate system bugs in tests