Added test file for error bug