better error handling
add errorSpec
updated spec to use relative paths with fixtures