Removing leftover tests from makefile, creating seam to mock open() system call