Add test to cover file & class case of ServiceProvider