Default Poor Wifi Speeds

Has anyone had issues with or found a way to improve the wifi performance on the moto g? I have the US XT 1034 with stock 4.4 OTA and have had consistently bad speeds when downloading things or using the speedtest.net app. I cannot seem to obtain more than about 4 or 5 Mb/s over wifi while other devices on the same connection (tested one at a time with wifi off on others) can get 40 Mb/s (my laptop) and 10+ Mb/s (previous phone - galaxy s blaze 4g). The speedtest app also shows the connection as being very unstable, fluctuating a lot and sometimes even losing connection. I have already tried turning off wifi optimization and enabling/disabling the "avoid poor connections" setting.