allow tests to pass on Railo4

fixes for issue #238