:warning: First crack at some client side unit tests

:neckbeard: It feels like I'm doing this wrong. I'd greatly appreciate some feedback :heartpulse: