moved testSizeParameter.toLowerCase() into if statement after null check