Extract tests into their own file
"title" method is now a function
Extract functionality out into files