start adding some functional tests