unit tests for excerpt method
added length parameter to excerpt method and used it in recipe listing