added alternate test file and patched errors