tests: Fix some minor issues flagged up by karma and related MW references

Change-Id: I33977884227ee61a40155ea3a08e3ef79384ddfc