failing tests, need to study module.exports