Changed tests to extends FunSuite instead of Spec for better IntelliJ integration