improved readability of specs
added aditional tests around error cases in benchmark