Attempt to fix #289
fixed the camelCase case and added some tests