Refactor server tests into integration and unit test buckets