Fixed beforeShowDay test

Changed the beforeShowDay test to fix some local failures