Refactored specs into test/ and test-src/ directories.