Reorganize spec files

- split specs into unit and integration folder
- move fixtures and stubs to support folder
Remove encoding header