fixes #182 and adds additional functionality to weekday() method
updated specs