implemented more tests based off of missing coverage as found by gocov