Added spec test for Spring current directory detect issue