Fixes typo in test name.
Simplifies chai assertions and removes unnecessary variables.