First crack at some client side unit tests

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