allow for both spec and tests