added a test on not compiling if element is not available