test conditional
allows pathname as directory
add starting slash test
add 2 more tests
add more expiring tests