tests: remove parse_test.db

Make it an string inside the test file and use strings.NewReader.