#95 Fixing bad test and conditional for checking whether a resource exists or not. Duh.