Move spec test to spec folder.
Clean up spec test code.
Add EARL report generation.