refactor expires header
add cs test