Made getQuirks public
Added some tests, and moved a method the make the code look cleaner