made spec tests cleaner